package com.yanqu.road.server.cmd.skinvolume;

import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.player.SkinVolumeModule;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.GameProtocol;

/**
 * @author ：zfr
 * @date ：2021/4/27 19:51
 */
@Cmd(code = GameProtocol.S_SKIN_VOLUME_GET_PIECES_COLLECT_LIST, desc = "霓裳卷残片收集服装头像列表")
public class SkinVolumeGetPiecesCollectListCmd extends AbstractCommand {
    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(GamePlayer player, YanQuMessage packet) throws Exception {
        player.getModule(SkinVolumeModule.class).getPiecesCollectList();
    }

    @Override
    public void sendData(GamePlayer player) {

    }
}
